package com.hpe.fastfood.pojo;

/**
 * @ClassName: Comment
 * @Description:TODO 评论的实体类
 * @author: dwx
 * @date: 2018年11月22日 上午11:35:34
 */
public class Comment {

	private int commentId;// 评论ID

	private String commentTitle;// 评论标题

	private String commentText;// 评论内容

	private String commentTime;// 评论时间

	private int userId;// 用户ID

	private int orderId;// 订单ID

	private int foodId;// 商品ID

	public int getCommentId() {
		return commentId;
	}

	public void setCommentId(int commentId) {
		this.commentId = commentId;
	}

	public String getCommentTitle() {
		return commentTitle;
	}

	public void setCommentTitle(String commentTitle) {
		this.commentTitle = commentTitle;
	}

	public String getCommentText() {
		return commentText;
	}

	public void setCommentText(String commentText) {
		this.commentText = commentText;
	}

	public String getCommentTime() {
		return commentTime;
	}

	public void setCommentTime(String commentTime) {
		this.commentTime = commentTime;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getOrderId() {
		return orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public int getFoodId() {
		return foodId;
	}

	public void setFoodId(int foodId) {
		this.foodId = foodId;
	}

	@Override
	public String toString() {
		return "Comment [commentId=" + commentId + ", commentTitle=" + commentTitle + ", commentText=" + commentText
				+ ", commentTime=" + commentTime + ", userId=" + userId + ", orderId=" + orderId + ", foodId=" + foodId
				+ ", getClass()=" + getClass() + ", hashCode()=" + hashCode() + ", toString()=" + super.toString()
				+ "]";
	}

}
